from django.urls import path, re_path
from . import views



# 子路由
urlpatterns = [
    path('', views.note_view),
    re_path(r'^list', views.note2_view),
    re_path(r'^del/(\d+)', views.del_view),
   re_path(r'^mod/(\d+)', views.mod_view), # /(\d+)  捕捉形参
    path('add', views.add_view),
]